]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
thunderbolt: ensure failure msg is translatable
authorChristian Kellner <christian@kellner.me>
Mon, 4 Feb 2019 15:14:16 +0000 (16:14 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 4 Feb 2019 18:53:42 +0000 (18:53 +0000)
Swap the gettext() and format() calls to ensure that the message
is translatable.

js/ui/status/thunderbolt.js

index 8362b5d7301c9e0905780c0808b400ae2030dc80..b7dadbc663ef210cd6b47cf3296f2324470448a1 100644 (file)
@@ -334,7 +334,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
 
     _onEnrollFailed(obj, device, error) {
        const title = _("Thunderbolt authorization error");
-       const body = _("Could not authorize the Thunderbolt device: %s".format(error.message));
+       const body = _("Could not authorize the Thunderbolt device: %s").format(error.message);
        this._notify(title, body);
     }
 };